package com.programmingeyeclient.popularofficial.service.impl;


import com.programmingeyeclient.popularofficial.entity.Official;
import com.programmingeyeclient.popularofficial.mapper.OfficialMapper;
import com.programmingeyeclient.popularofficial.service.OfficialService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OfficialServiceImpl implements OfficialService {
    @Autowired
    private OfficialMapper officialMapper;

    @Override
    public List<Official> AllOff() {
        return officialMapper.AllOff();
    }
}
